package com.langfeiyes.pattern.adapter.object;

public class App {

    public static void main(String[] args) {
        //现有项目(App)--操作---Target---操作--Adapter--操作-Adaptee
        //外来逻辑
        Adaptee adaptee = new Adaptee();
        //现有接口
        Target target = new Adapter(adaptee);
        //现有项目(App)--操作---Target---操作(request)--Adapter--操作-Adaptee(specificRequest)
        target.request();
    }
}
